#!/usr/bin/env bash

--- 老代码新脚本没问题
--------- 可前置刷
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/workReport/fixApprovedPeople -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","xbbCode":123456,"addTimeEnd":1595814574}'
--------- 可前置刷

--- 不跑没有问题
curl  http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","businessType":1001,"attr":"button_1","initMethod":"addSupplierContact","xbbCode":"123456","operate":2,"afterAttr":"other_2"}'

curl  http://pt2jobs.xbongbong.com.cn/pro/v1/script/flow/form/contract -X POST -H 'Content-type: application/json' -d '{"xbbCode":123456,"businessType":"1001","operate":"0"}'

--- 老代码新脚本没问题
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/workReport/fixApprovedPeople -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","xbbCode":123456,"addTimeStart":1595814574}'

------ 套餐白名单
# 套餐白名单 吴峰
curl curl http://localhost:2019/pro/v1/script/package/validateFeature -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","xbbCode":123456,"corpid":"1","userId":"1","platform":"web"}'



------ 定时脚本
# 工作报告未交提醒，工作报告逾期未交提醒 -- 定时脚本（整点触发）
curl http://pt2message.zjk.taeapp.com/pro/v1/promessage/remind/workReportPush?key=gYYt9diVPkQrdgeNMkUk

------ 定时脚本 吴峰
# 套餐到期提醒 -- 定时脚本（凌晨触发）
curl http://pt2message.zjk.taeapp.com/pro/v1/promessage/remind/saveExpiredReminder

-----发票重构调整解释
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","businessType":901,"attr":"text_62","initMethodField":"saasParticularAttributePoJo","initMethod":"paymentSheetId","xbbCode":"123456","operate":1}'

curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","businessType":901,"attr":"text_62","initMethodField":"isForbidden","initMethod":"paymentSheetId","xbbCode":"123456","operate":1}'

